<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 自动识别最新稳定版的Vue.js  -->
    <script src="vue.js"></script>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<body xmlns:v-on="http://www.w3.org/1999/xhtml">
    <div id="app"><template>
        <el-alert
                title="成功提示的文案"
                type="success"
                show-icon>
        </el-alert>
        <el-alert
                title="消息提示的文案"
                type="info"
                show-icon>
        </el-alert>
        <el-alert
                title="警告提示的文案"
                type="warning"
                show-icon>
        </el-alert>
        <el-alert
                title="错误提示的文案"
                type="error"
                show-icon>
        </el-alert>
    </template>
    </div>
</body>
<script>
    /*必须有vue*/
    new Vue({
        el:'#app'
    })
</script>
</html>